<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
    <!-- 引入bootstrap样式文件 -->
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <!-- 引入我们自己的首页样式 -->
    <link rel="stylesheet" href="css/index.css">
    <title>Document</title>
    <script src="bootstrap/js/jquery-3.5.1.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>

    <style>
      .carousel,
      .carousel img {
        width: 100%;
        height: 266px!important;
        
      }
    </style>
</head>
<body>
    <div class="container">
        <div class="row">
            <nav class="navbar navbar-default">
                <div class="container-fluid">
                  <!-- Brand and toggle get grouped for better mobile display -->
                  <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                      <span class="sr-only">Toggle navigation</span>
                      <span class="icon-bar"></span>
                      <span class="icon-bar"></span>
                      <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">51购商城</a>
                  </div>
              
                  <!-- Collect the nav links, forms, and other content for toggling -->
                  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                      <li class="active"><a href="#">生活馆 <span class="sr-only">(current)</span></a></li>
                      <li><a href="#">自然汇</a></li>
                      <li><a href="#">科技潮</a></li>
                      <li><a href="#">奇趣事</a></li>
                      <li><a href="#">美食街</a></li>
                      
                    </ul>
                    <form class="navbar-form navbar-left">
                      <div class="form-group">
                        <input type="text" class="form-control" placeholder="请输入内容">
                      </div>
                      <button type="submit" class="btn btn-default">搜索</button>
                    </form>
                    <ul class="nav navbar-nav navbar-right">
                      <li><a href="#" data-toggle="modal" data-target=".login">登录</a></li>
                      <li><a href="#">注册</a></li>
                      
                    </ul>
                    <!-- 模态框 -->
                    <div class="modal fade login" tabindex="-1" role="dialog" >
                        <div class="modal-dialog" role="document">
                          <div class="modal-content">
                            <div class="modal-header">
                              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                              <h4 class="modal-title">登录信息</h4>
                            </div>
                            <div class="modal-body">
                                <form>
                                    <div class="form-group">
                                      <label for="exampleInputEmail1">邮箱登录</label>
                                      <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
                                    </div>
                                    <div class="form-group">
                                      <label for="exampleInputPassword1">密码</label>
                                      <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
                                    </div>
                                   
                                    <div class="checkbox">
                                      <label>
                                        <input type="checkbox"> 记录用户名
                                      </label>
                                    </div>
                                    
                                  </form>
                                  
                            </div>
                            <div class="modal-footer">
                              <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                              <button type="button" class="btn btn-primary">登录</button>
                            </div>
                          </div><!-- /.modal-content -->
                        </div><!-- /.modal-dialog -->
                      </div><!-- /.modal -->







                  </div><!-- /.navbar-collapse -->
                </div><!-- /.container-fluid -->
              </nav>
        </div>
        <div class="row">
            <header class="col-md-2">
                <div class="logo">
                    <a href="#">
                        <img src="img/logo.png" alt="" class="hidden-xs">
                        <span class="visible-xs">首页</span>
                    </a>
                </div>
                <div class="nav">
                    <ul>
                        <li><a href="#" class="glyphicon glyphicon-camera">生活馆</a></li>
                        <li><a href="#" class="glyphicon glyphicon-globe">自然汇</a></li>
                        <li><a href="#" class="glyphicon glyphicon-phone">科技潮</a></li>
                        <li><a href="#" class="glyphicon glyphicon-gift">奇趣事</a></li>
                        <li><a href="#" class="glyphicon glyphicon-glass">美食街</a></li>
                    </ul>
                </div>
            </header>
            <article class="col-md-7">
                <!-- 新闻 -->
                <div class="news clearfix">
                    <ul>
                        <li>
                            <!-- <a href="#">
                                <img src="img/img1.PNG" alt="">
                                <p>页面布局分析</p>
                            </a> -->

                            <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                              
                            
                              <!-- Wrapper for slides 轮播图片-->
                              <div class="carousel-inner" role="listbox">
                                <div class="item active">
                                  <img src="img/index_topcarousel_01.JPG" alt="...">
                                  <div class="carousel-caption">
                                    这是第一张图
                                  </div>
                                </div>
                                <div class="item">
                                  <img src="img/index_topcarousel_02.JPG" alt="...">
                                  <div class="carousel-caption">
                                    这是第二张图
                                  </div>
                                </div>
                                <div class="item">
                                  <img src="img/index_topcarousel_03.JPG" alt="...">
                                  <div class="carousel-caption">
                                    这是第三张图
                                  </div>
                                </div>
                              </div>
                            
                              <!-- Controls 左右箭头-->
                              <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                                <span class="sr-only">Previous</span>
                              </a>
                              <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                                <span class="sr-only">Next</span>
                              </a>
                            </div>
                            <script>
                              $('.carousel').carousel({
                              interval: 2000
                            })
                            </script>


                        </li>
                        <li>
                            <a href="#">
                                <img src="img/img2.PNG" alt="">
                                <p>技术选型</p>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <img src="img/img3.PNG" alt="">
                                <p>屏幕分析</p>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <img src="img/img3.PNG" alt="">
                                <p>测试内容</p>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <img src="img/img2.PNG" alt="">
                                <p>内容测试</p>
                            </a>
                        </li>
                    </ul>
                </div>
                <!-- 发表 -->
                <div class="publish">
                    <div class="row">
                        <div class="col-sm-9">
                            <h3>页面布局分析</h3>
                            <p class="text-muted  hidden-xs">king 发布于 2020-10-08</p>
                            <p class="hidden-xs">三栏式布局，左中右。</p>
                            <p class="text-muted">阅读（999）评论（66）赞（88）<span class="hidden-xs">标签：测试</span></p>
                        </div>
                        <div class="col-sm-3 pic hidden-xs">
                            <img src="img/img1.PNG" alt="">
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-9">
                            <h3>技术选型</h3>
                            <p class="text-muted  hidden-xs">king 发布于 2020-06-08</p>
                            <p class="hidden-xs">我是内容巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉，巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉！</p>
                            <p class="text-muted">阅读（269）评论（1）赞（88）<span class="hidden-xs">标签：教学</span></p>
                        </div>
                        <div class="col-sm-3 pic hidden-xs">
                            <img src="img/img2.PNG" alt="">
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-9">
                            <h3>屏幕分析</h3>
                            <p class="text-muted  hidden-xs">king 发布于 2020-05-08</p>
                            <p class="hidden-xs">我是内容一段很高深的分析，巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉！</p>
                            <p class="text-muted">阅读（4）评论（3246）赞（28）<span class="hidden-xs">标签：测试/教学</span></p>
                        </div>
                        <div class="col-sm-3 pic hidden-xs">
                            <img src="img/img3.PNG" alt="">
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-9">
                            <h3>布局</h3>
                            <p class="text-muted  hidden-xs">king 发布于 2020-04-08</p>
                            <p class="hidden-xs">我是内容测试段落，巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉！</p>
                            <p class="text-muted">阅读（92349）评论（36）赞（32）<span class="hidden-xs">标签：教学</span></p>
                        </div>
                        <div class="col-sm-3 pic hidden-xs">
                            <img src="img/img2.PNG" alt="">
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-9">
                            <h3>主流方案</h3>
                            <p class="text-muted  hidden-xs">king 发布于 2020-02-08</p>
                            <p class="hidden-xs">我是内容测试内容，巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉！</p>
                            <p class="text-muted">阅读（92）评论（64）赞（48）<span class="hidden-xs">标签：验证/教学</span></p>
                        </div>
                        <div class="col-sm-3 pic hidden-xs">
                            <img src="img/img3.PNG" alt="">
                        </div>
                    </div>
                </div>


                <nav aria-label="Page navigation">
                    <ul class="pagination">
                      <li>
                        <a href="#" aria-label="Previous">
                          <span aria-hidden="true">&laquo;</span>
                        </a>
                      </li>
                      <li><a href="#">1</a></li>
                      <li><a href="#">2</a></li>
                      <li><a href="#">3</a></li>
                      <li><a href="#">4</a></li>
                      <li><a href="#">5</a></li>
                      <li>
                        <a href="#" aria-label="Next">
                          <span aria-hidden="true">&raquo;</span>
                        </a>
                      </li>
                    </ul>
                  </nav>
            </article>
            <aside class="col-md-3">
                <a href="#" class="banner">
                    <img src="img/img1.PNG" alt="">
                </a>
                <a href="#" class="hot">
                    <span class="btn btn-primary">热搜</span>
                    <h4 class="text-primary">欢迎加入我们</h4>
                    <p class="text-muted">这又是很多字，巴拉巴拉巴拉，巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉，巴拉巴拉巴拉，巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉...</p>
                </a>
                <div style="margin-top: 10px;">

                    <!-- Nav tabs -->
                    <ul class="nav nav-tabs" role="tablist">
                      <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">热搜</a></li>
                      <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">排名</a></li>
                    </ul>
                  
                    <!-- Tab panes -->
                    <div class="tab-content">
                      <div role="tabpanel" class="tab-pane active" id="home">热搜的相关内容</div>
                      <div role="tabpanel" class="tab-pane" id="profile">排名的相关内容</div>
                    </div>
                  
                  </div>
            </aside>
        </div>
    </div>
</body>
</html>